import { defineConfig, UserConfigExport } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

const config: UserConfigExport = defineConfig({
  plugins: [vue()],
  server: {
    port: 3003,
    open: true,
  },
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './src')
    }
  }
})

export default config